SDB:LTSP quick start 11.4 Edu

Jump to: navigation, search


Tested on openSUSE

Related articles


Here are the steps to get LTSP (Linux Terminal Server Project) running on openSUSE Edu Li-f-e distribution based on openSUSE 11.4.

Procedure

Follow these simple steps to get LTSP running.

Minimum Useful Specs:

Pentium processor running at 2+ ghz, 32/64 bit 512MB+200MB per client RAM on the server 2 NICS,

This aforementioned setup is useful for maybe 5-12 PXE boot machines running LibreOffice suite, etc. Streaming video, music, etc. will considerably slow operations. For 100-500 terminals, a PC with 4-6 core processor, 8-16 gig Ram, 2 500 gig striped drives(speed), an accelerated video card, and 2-4 gigabit NICS. Remember, you need at least 2 network cards. Depending on the motherboard, if there is room for 4, you can bridge two to the internal network(intranet), and two to the external network(internet).


1. Download an iso of Edu Li-i-f-e

2. Burn iso to a DVD using K3b or create Live USB Stick.

3. Boot up the server to be, with Edu Li-f-e DVD

4. Do a complete installation.

5. The Education openSUSE Desktop appears. You are half way done.

6. Once done and rebooted, we configure the two required NIC. Go to Yast > Network Devices. Select br0 and delete it. Next, select eth0, and configure it with whatever setup you have that connects to the internet/external network. Then Save. Select "External Zone" for that device from "yast2 firewall" later. The newly installed NIC, usually eth1, will be installed as the internal/local network card. You need to set it up manually. Set to Static IP of 10.0.0.254, Sub Mask of 255.255.255.0, and your domain name. You can leave it as Site, or change it to whatever. Save that. For more information, check the Configure Network link below.

7. You may want to reboot at this time. Once up, select gnome-terminal from main-menu, or right-click on the desktop to select "Open in Terminal" as gnome is the default desktop. Type in "su -" and press enter, give the root password. Once in root key in "kiwi-ltsp-setup -c" and press enter, this will set up all the required services.

8. Get into Yast, and go to Security and Users > Users. Add the users you require to log in from the terminal. You can choose any username and password for them for as many terminals that will be connected. One username/password per client is required.

9. Once done, turn on your clients connected to the switch. Do a PXE boot. It should take within about 2-3 seconds. You boot screen should show. Press on the top most selection. You will get a log in screen. Here is where you start with your users. Type in the username and password. Voila! You should boot into your Destop. Do that to the rest of your PXE boot machines. It doesn't matter whether PC or laptop.

10. You can then modify your Easy-LTSP settings for fine tuning the thin client behavior if required.

Note. You can select either NIC for internal, or external use. If for some reason you don't get a boot on the terminals, switch the network cables on the NICS. You may have reversed the NIC setup.


Configure Network

Please configure network according to the instructions in the linked article about KIWI-LTSP network configuration.

Configure everything script

Run the following command in terminal as root to configure all services according to the network setup done previously.

kiwi-ltsp-setup -c

Warning: DO NOT do this step without doing the network setup as described.

If there is any error, edit /etc/sysconfig/kiwi-ltsp file as root using your favorite text editor, remove DHCPD_IFACES and SERVER_IPS value, running kiwi-ltsp-setup will fill them up properly.

Disable LTSP server

To stop serving LTSP environment to the network disabling dhcpd is enough:

insserv -r dhcpd && rcdhcpd stop

Thin client configuration

Most hardware do not need any specific configuration to work with LTSP, however if you wish to change anything like language, keyboard, X configurations run easy-ltsp from the--main-menu's Application Browser (More Applications...)

See also